require("../css/common.css")
require("../css/advert.css")
require("animate.css")
document.ready(function(){
// ------------------------五秒倒计时-----------------------
let cd=document.querySelector("main .time #cd")
let jumpbox=document.querySelector("main .time #jump")
let timerId=null
let num=5
timerId= window.setInterval(function(){
    num--
    cd.innerHTML=`${num}S`
    if(num==0){
        clearInterval(timerId)
        location.href="./login.html"
    }
},1000)
jumpbox.addEventListener("click",function(){
        location.href="./login.html"
})




})

